<#assign path="${request.getContextPath()}">

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<META http-equiv=Content-Type content="text/html; charset=utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<meta name="description" content="">
<meta name="author" content="">

<!-- Bootstrap -->

<!-- 新 Bootstrap 核心 CSS 文件 -->
<link
	href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css"
	rel="stylesheet">
<link href="${path}/static/styles/login.css" rel="stylesheet">
</head>
<body>
	<div class="container ">
		<form class="form-login form-horizontal " role="form" action="${path}/doLogin" method="post">
			<div class="login-title text-center">
				<h1>用户登录</h1>
			</div>
			<div class="login-content">
				<div class="form-group">
					<div class="col-xs-12 ">
						<div class="input-group">
							<span class="input-group-addon"> <span
								class="glyphicon glyphicon-user"></span>
							</span> <input type="text" name="username" class="form-control"
								placeholder="请输入用户名" required autofocus>
						</div>
					</div>
					<!-- <lable class="col-xs-4  control-lable inline" for="username"> 用户名：</lable> <!-- 
				<div class="col-sm-10">
				<input type="text" name="username" class="form-control"  placeholder="请输入用户名" required autofocus>
				</div> -->

				</div>

				<div class="form-group">
					<div class="col-xs-12 ">
						<div class="input-group">
							<span class="input-group-addon"> <span
								class="glyphicon glyphicon-lock"></span>
							</span> <input type="text" name="password" class="form-control"
								placeholder="请输入密码" required>
						</div>
					</div>
				</div>


				<!-- <lable class="col-xs-4 control-lable" for="password"> 密码：</lable>
				<div class="col-sm-10">
				<input type="text" name="password" class="form-control" placeholder="请输入密码" required>
			    </div> -->

				<div class="form-group ">
				  <div class="col-xs-10 col-xs-offset-3">
					<button type="submit" class="btn btn-large btn-primary   ">登录</button>
					<!-- <form action="reg" method="post"> -->
					<button type="button" class="btn btn-large btn-primary" onclick="javascript:document.location.href='${path}/reg'" >注册</button>
				 </form>
				</div>
				</div>
			</div>
		</form>


	</div>

</body>
</html>
